package com.joplus.housekeeper.bean;

import java.util.List;

/**
 * Created by ccm on 2016/11/17 18:03
 */

public class PlanBean {


    /**
     * msg : 查询成功
     * code : 200
     * planList : [{"travelDate":"2016/11/29 18:00","travelPlanId":"travel1480406440580lVVM","commonId":"rest1459681300977drix","status":"1","remindMsg":"在梁伯伯用餐","travelName":"梁伯伯海派私房小馆","accountId":"acc1480304110443sV71","travelAddress":"瑞金二路街道永嘉路15弄3号","serInfos":[{"srId":null,"serId":"ser1480247122270I6F3","commonId":null,"createDate":null,"serName":"飞机前往","serIcon":null},{"srId":null,"serId":"ser1480305538915xRo8","commonId":null,"createDate":null,"serName":"蛋糕","serIcon":null}]},{"travelDate":"2016/11/30 12:00","travelPlanId":"travel1480407585864YECO","commonId":"rest1459681300977drix","status":"0","remindMsg":"在梁伯伯用餐","travelName":"梁伯伯海派私房小馆","accountId":"acc1480304110443sV71","travelAddress":"瑞金二路街道永嘉路15弄3号","serInfos":[{"srId":null,"serId":"ser1480247122270I6F3","commonId":null,"createDate":null,"serName":"飞机前往","serIcon":null},{"srId":null,"serId":"ser1480305538915xRo8","commonId":null,"createDate":null,"serName":"蛋糕","serIcon":null}]},{"travelDate":"2016/12/01 12:00","travelPlanId":"travel1480407614813q6JP","commonId":"rest1459681300977drix","status":"0","remindMsg":"在梁伯伯用餐","travelName":"梁伯伯海派私房小馆","accountId":"acc1480304110443sV71","travelAddress":"瑞金二路街道永嘉路15弄3号","serInfos":[{"srId":null,"serId":"ser1480247122270I6F3","commonId":null,"createDate":null,"serName":"飞机前往","serIcon":null},{"srId":null,"serId":"ser1480305538915xRo8","commonId":null,"createDate":null,"serName":"蛋糕","serIcon":null}]}]
     */

    private String message;
    private String code;
    /**
     * travelDate : 2016/11/29 18:00
     * travelPlanId : travel1480406440580lVVM
     * commonId : rest1459681300977drix
     * status : 1
     * remindMsg : 在梁伯伯用餐
     * travelName : 梁伯伯海派私房小馆
     * accountId : acc1480304110443sV71
     * travelAddress : 瑞金二路街道永嘉路15弄3号
     * serInfos : [{"srId":null,"serId":"ser1480247122270I6F3","commonId":null,"createDate":null,"serName":"飞机前往","serIcon":null},{"srId":null,"serId":"ser1480305538915xRo8","commonId":null,"createDate":null,"serName":"蛋糕","serIcon":null}]
     */
    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }


    public static class DataBean {
        public List<PlanListBean> getPlanList() {
            return planList;
        }

        private List<PlanListBean> planList;

        public void setPlanList(List<PlanListBean> planList) {
            this.planList = planList;
        }

        public static class PlanListBean {
            private String travelDate;
            private String travelPlanId;
            private String commonId;
            private String status;
            private String remindMsg;
            private String travelName;
            private String accountId;
            private String travelAddress;
            private int type;

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            /**
             * srId : null
             * serId : ser1480247122270I6F3
             * commonId : null
             * createDate : null
             * serName : 飞机前往
             * serIcon : null
             */

            private List<SerInfosBean> serInfos;

            public String getTravelDate() {
                return travelDate;
            }

            public void setTravelDate(String travelDate) {
                this.travelDate = travelDate;
            }

            public String getTravelPlanId() {
                return travelPlanId;
            }

            public void setTravelPlanId(String travelPlanId) {
                this.travelPlanId = travelPlanId;
            }

            public String getCommonId() {
                return commonId;
            }

            public void setCommonId(String commonId) {
                this.commonId = commonId;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getRemindMsg() {
                return remindMsg;
            }

            public void setRemindMsg(String remindMsg) {
                this.remindMsg = remindMsg;
            }

            public String getTravelName() {
                return travelName;
            }

            public void setTravelName(String travelName) {
                this.travelName = travelName;
            }

            public String getAccountId() {
                return accountId;
            }

            public void setAccountId(String accountId) {
                this.accountId = accountId;
            }

            public String getTravelAddress() {
                return travelAddress;
            }

            public void setTravelAddress(String travelAddress) {
                this.travelAddress = travelAddress;
            }

            public List<SerInfosBean> getSerInfos() {
                return serInfos;
            }

            public void setSerInfos(List<SerInfosBean> serInfos) {
                this.serInfos = serInfos;
            }

            public static class SerInfosBean {
                private String srId;
                private String serId;
                private String commonId;
                private String createDate;
                private String serName;
                private String serIcon;
                private String serAsk;

                public String getSerAsk() {
                    return serAsk;
                }

                public void setSerAsk(String serAsk) {
                    this.serAsk = serAsk;
                }

                public String getSrId() {
                    return srId;
                }

                public void setSrId(String srId) {
                    this.srId = srId;
                }

                public String getSerId() {
                    return serId;
                }

                public void setSerId(String serId) {
                    this.serId = serId;
                }

                public String getCommonId() {
                    return commonId;
                }

                public void setCommonId(String commonId) {
                    this.commonId = commonId;
                }

                public String getCreateDate() {
                    return createDate;
                }

                public void setCreateDate(String createDate) {
                    this.createDate = createDate;
                }

                public String getSerName() {
                    return serName;
                }

                public void setSerName(String serName) {
                    this.serName = serName;
                }

                public String getSerIcon() {
                    return serIcon;
                }

                public void setSerIcon(String serIcon) {
                    this.serIcon = serIcon;
                }
            }
        }
    }

}
